//
//  F37CheckViewController.m
//  PDA巡检
//
//  Created by Vencoo on 14-2-23.
//  Copyright (c) 2014年 Vencoo. All rights reserved.
//

#import "F37CheckViewController.h"
#import "F37CheckCell.h"
@interface F37CheckViewController ()

@end

@implementation F37CheckViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    self.checkURL = resultOf37F;
    self.checkNames = @[@"检查情况",@"         "];
    [super viewDidLoad];
    self.title = @"37F巡检记录查询";
	// Do any additional setup after loading the view.
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    static NSString *identifier = @"myCell";
    F37CheckCell *cell = [tableView dequeueReusableCellWithIdentifier:identifier];
    if (!cell)
    {
        cell = [[F37CheckCell alloc]initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:identifier];
    }
    cell.floorNameLb.text = [self.floorNames objectAtIndex:indexPath.row];
    cell.remarkLb.text = [self.floorResults objectAtIndex:indexPath.row];
    return cell;
}
- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
